import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'main',
      component: resolve => require(['@/components/Main'], resolve)
    },
    {
      path: '/1',
      name: 'main',
      component: resolve => require(['@/components/Main'], resolve)
    },
    {
      path: '/2',
      name: 'year',
      component: resolve => require(['@/components/YearSelectDays'], resolve)
    },
  ]
})
